.form {
  display: flex;
  max-width: 1280px;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}
.form__form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70%;
}
@media screen and (max-width: 320px) {
  .form__form {
    height: 68%;
    width: 100%;
  }
}
.form__header {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
}
@media screen and (max-width: 320px) {
  .form__header {
    margin-top: 50px;
    margin-bottom: 80px;
  }
}
.form__container {
  width: 396px;
  height: 562px;
}
@media screen and (max-width: 425px) {
  .form__container {
    max-width: 386px;
    width: 260px;
    
  }
}
@media screen and (max-width: 320px) {
  .form__container {
    margin-top: 43px;
    min-height: 714px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.form__button {
  margin-top: 20px;
  margin-bottom: 16px;
  border-radius: 3px;
  background: #3456f3;
  height: 45px;
  flex-shrink: 0;
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: none;
}
.form__text {
  text-align: center;
  color: #a0a0a0;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  margin-top:16px
}
@media screen and (max-width: 320px) {
  .form__text {
    font-size: 12px;
  }
}
.form__link {
  color: #3456f3;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: 6px;
}
@media screen and (max-width: 320px) {
  .form__link {
    font-size: 12px;
  }
}
.form__field-name {
  display: flex;
  flex-direction: column;
  color: #a0a0a0;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.form__input {
  padding: 0;
  height: 46px;
  padding-left: 15px;
  border-radius: 8px;
  background: #f4f4f4;
  color: #000;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
  margin-top: 10px;
  /* margin-bottom: 18px; */
  outline: none;
}
.form__input:focus{
  font-weight: 500;
}

.form__input-error {
  color: #ee3465;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  height:20px;

}

@media screen and (max-width: 320px) {
  .form__input-container {
    width: 100%;
  }
}
.button__inactive{
  border-radius: 3px;
background: #F8F8F8;
color: #C2C2C2;
}
.form__submit-error{
  margin:0;
  margin-top:65px;
  color: #FF004C;
  text-align: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  
}
.form__input-invalid{
  color: #ee3465;
}